package cn.shujuhai.cms.domain;

import cn.shujuhai.common.domain.BaseDomain;
import jakarta.activation.DataSource;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.util.Map;

/**
 * @Author: NiuYaHu
 * @Date: 2024/12/23 11:15
 * @Description:
 **/
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ToEmail extends BaseDomain {

    /**
     * 邮件接收方，可多人
     */
    private String to;

    private String toName;
    /**
     * 邮件主题
     */
    private String subject;
    /**
     * 邮件内容
     */
    private String content;

    /**
     * 附件
     */
    private String attachment;

    /**
     * 多媒体集合
     */
    private Map<String, DataSource> multimedia;
}
